fix(e2e): parse E2E_WORKERS as number for playwright config#8133
fix(e2e): parse E2E_WORKERS as number for playwright config#8133jacekradko merged 1 commit intomainfrom
Conversation
Playwright requires workers to be a number or percentage string. The env var comes in as string '2' which isn't accepted.
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated Playwright worker configuration to handle the 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📝 Coding Plan
Comment |
Summary
config.workers must be a number or percentageerror introduced in fix(e2e): reduce playwright workers for staging to avoid FAPI rate limiting #8132'2'— needsNumber()parsingTest plan
E2E_WORKERS=2 node -e "console.log(Number('2'))"→2(number)E2E_WORKERS, falls back to percentage strings as beforeSummary by CodeRabbit